package com.example.springsecuritydemo.Service;


import com.example.springsecuritydemo.dao.SysRoleMapper;
import com.example.springsecuritydemo.entity.SysRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysRoleService {

    @Autowired
    private SysRoleMapper roleMapper;

    public SysRole selectById(Integer id){
        return roleMapper.selectById(id);
    }

}
